(function(){"use strict";BX.namespace("BX.Grid");BX.Grid.Pagination=function(t){this.parent=null;this.container=null;this.links=null;this.init(t)};BX.Grid.Pagination.prototype={init:function(t){this.parent=t},getParent:function(){return this.parent},getContainer:function(){if(!this.container){this.container=BX.Grid.Utils.getByClass(this.getParent().getContainer(),this.getParent().settings.get("classPagination"),true)}return this.container},getLinks:function(){var t=this;var n=BX.Grid.Utils.getByTag(this.getContainer(),"a");this.links=[];if(n){this.links=n.map(function(n){return new BX.Grid.Element(n,t.getParent())})}return this.links},getLink:function(t){var n=null;var i;if(BX.type.isDomNode(t)){i=this.getLinks().filter(function(n){return t===n.getNode()});if(i.length){n=i[0]}}return n}}})();
//# sourceMappingURL=pagination.map.js